export const baseInfoPath = 'base-info'

export const baseInfoMethods = ['find', 'get', 'create', 'patch', 'remove']

export const baseInfoClient = (client) => {
  const connection = client.get('connection')

  client.use(baseInfoPath, connection.service(baseInfoPath), {
    methods: baseInfoMethods
  })
}
